home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1994 November / Cd Ware (Nro. 2) - Epimundo.iso / DOS / PG / DCPU.ZIP / FHELP.DOC < prev    next >
Encoding:
Text File  |  1994-06-17  |  4.7 KB  |  101 lines

  1. ;
  2. ;CPU AND NDP ID routines
  3.  
  4. =======================================================================
  5.     Copyright (C) Copr. 1990, 1991 1992, 1993, 1994 by Sidney J. Kelly
  6.             All Rights Reserved.
  7.             Sidney J. Kelly
  8.             150 Woodhaven Drive
  9.             Pittsburgh, PA 15228
  10.             home phone 412-561-0950 (7pm to 9:30pm EST)
  11.  
  12.      CompuServe   70043,1656
  13. =======================================================================
  14.  
  15.  
  16.           MASM Theory:
  17.           The MASM routines were designed to be compiled with MS
  18. QUICK ASSEMBLER, using simplified segment names.  They should
  19. compile with MS MASM 5.1 and above.  The DOSSEG keyword might not
  20. be supported by your version of MASM, so use the MASM keyword
  21. that arranges the segments in DOS order, rather than ALPHA order.
  22. If you use TASM with QUIRKS and MASM51  you should be able to
  23. compile these programs with TASM.  The @@, @f, @b are local 
  24. labels used so I can skip ahead without having to think up 
  25. unique names.  Don't use @@, @f,@b inside MASM Macros, 
  26. use LOCAL alphanumeric names instead.  MASM too easily can 
  27. lose track of which local label you mean.
  28.           The simplified directives really save time when you
  29. have to identify variables on the stack, and push and pop
  30. variables.  I use the full PROC function and the regular PROC
  31. keywords interchangeably.  Full PROC format is not necessary when
  32. there is no need to address variables on the stack (i.e. no need
  33. to change BP to address the stack) and the QBASIC routine is
  34. described as a FUNCTION or a SUB that does not take or return
  35. parameters..
  36.           The EVEN directive is used to word align loops for
  37. 80286 and 80386 machines.  EVEN inserts NOPS as necessary to word
  38. align loops.  The QBASIC BYVAL directive is used to get
  39. information directly from QBASIC without having to use [BX] or
  40. [SI] to fish out the correct information.  To allow for
  41. compatibility with the 8088 chip, shifts rather than MULs are
  42. used for speed.  I use .code to store most of my variables to
  43. save space in DGROUP, which is comparatively tiny and easily
  44. filed with string data.
  45.           To program in OS/2 code segment variables are
  46. "verbotten", and you must use local variables on the stack.  I
  47. don't have access to the OS/2 DOS compatibility box, so I don't
  48. know how these routines would work under OS/2.  I am certain that
  49. none of these routines would work smoothly under protected mode
  50. because they often access the BIOS or the hardware.
  51.  
  52. What's available:
  53.  
  54.     DOSBASIC ZIP - (released 12-19-90).  The first draft
  55. of many of these routines.  The current version is much faster and does
  56. more.  Uploaded on GENIE and COMPUSERVE
  57.  
  58.         VIDBASIC (released 11-29-90)
  59.     - A selection of text mode video routines.  Bannerware.
  60. The library allows the user to select, move, switch, change, save,
  61. restore, draw boxes, and write with lightening speed.  MASM .ASM code,
  62. .OBJ, and a demo routine with source is included.  Uploaded by author on
  63. GENIE and COMPUSERVE.
  64.  
  65.         KEYBASIC - (released 12-14-90)
  66.     A selection of Microsoft Compatible Mouse and
  67. Keyboard utilities.  Text mode mouse utilities.  Fast mouse utilities.
  68. Turn off CONTROL-BREAK so you can use LINE INPUT$ without error if user
  69. pushes the Control-Break key.  Bannerware. MASM .ASM code, .OBJ, and a
  70. demo routine with source is included.  Uploaded by author on GENIE and
  71. COMPUSERVE.
  72.  
  73.     PDS-VID  ZIP     (released 03-01-91)
  74.     Shows how to use far strings inside QBX/PDS.  Gives all the
  75. proper library call format.  Uploaded on COMPUSERVE.
  76.  
  77.     EDIT-QB  ZIP     (released 05-23-91)
  78.     A fast on screen text line editor.  Should be compatible with
  79. all displays because it uses bios calls to display characters.
  80.  
  81.     VERT-LIB ZIP    (released 12-31-91)
  82.     with update VERT-L1  ZIP (04-27-92).  This shows a complex
  83. shell for QBASIC near strings.  Complete display control, PULL DOWN
  84. and POP UP menus, and simple help box.  Works with MOUSE or keyboard.
  85. Full source MASM and QBASIC included.
  86.  
  87.     QB-EQUIP  ZIP    (released 12-31-92)
  88.         A fast set of hardware ID routines with MASM source. Bannerware.
  89. Uploaded on COMPUSERVE.
  90.  
  91.     VOL-ID.ZIP       (released 05/03/93)
  92.     Shows how to obtain the volume label from a disk and set it too.
  93. Bannerware.  Uploaded on COMPUSERVE
  94.  
  95.         As always, constructive criticism is desired.  These libraries
  96. were released as Bannerware (you can use the .OBJ files) but you can't
  97. sell the source) to encourage a sharing of ideas.  If you have
  98. something to say, I welcome your comments.  With application programs
  99. there appears to be a significant and speedy exchange of ideas,
  100. programmers, on the other hand, seem to move at a much slower pace, with
  101. Jim Mack being the notable exception.
  102.  
  103.